#pragma once

#include <QMainWindow>
#include "ui_Pacs_MainWidget.h"
#include "Pacs_MainCenter.h"

class Pacs_MainWidget : public QMainWindow
{
	Q_OBJECT

public:
	Pacs_MainWidget(QWidget *parent = Q_NULLPTR);
	~Pacs_MainWidget();
private slots:
	void on_btn_Close_clicked();
	void on_btn_min_clicked();
	void on_btn_max_clicked();
protected:
	void mousePressEvent(QMouseEvent *e);
	void mouseReleaseEvent(QMouseEvent *e);
	void mouseMoveEvent(QMouseEvent *e);
	void closeEvent(QCloseEvent *event);
private:
	Ui::Pacs_MainWidget ui;
	Pacs_MainCenter * m_mainWidget;
	QPoint lastPoint;
	bool m_Drag;
};
